
/**
 * 用户reducer
 */
export default function user(state = {}, action){
	switch(action.type){
		case 'GET_USER':
			return action.user;
		case 'PUSH_USER':
			return action.user;
		default:
			return state
	}
}
